package com.million.staservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: studyboy
 * @Date: 2022/4/11  21:49
 */
@FeignClient(value = "service-ucenter",fallback = UcenterClientFollback.class)
@Component
public interface UcenterClient {

    //根据创建时间查询注册人数
    @GetMapping("/educenter/member/getRegisterUcenter/{day}")
    public Integer getRegisterUcenter (@PathVariable("day") String day);
}
